
include $(top_srcdir)/common.mk


# Install configuration files for base and batch system
# in the conf directory.

# Install the shell profile scrips and the system startup 
# script in the etc directory.
etcdir = $(prefix)/etc
etc_DATA = \
	qp.conf qp.cluster.${quickpoolcluster} qp.shared \
	qp.hosts qp.params qp.queues qp.users \
	license.dat

etc_SCRIPTS = quickpool.sh quickpool.csh

# Create the working directory where the working files are kept.
install-data-local:
	mkdir -p $(DESTDIR)$(prefix)/work
	mkdir -p $(DESTDIR)$(prefix)/log
	mkdir -p $(DESTDIR)$(prefix)/include
	chmod 777 $(DESTDIR)$(prefix)/log

# Tell automake to install during distcheck the
# configuration and etc files. 
#
EXTRA_DIST = $(etc_DATA)
